<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 10:48
 */

namespace vendor\core;


class order
{

    //创建订单方法，取消订单方法
    public function generateOrder()
    {

        echo "ORDER generateOrder";
    }

    public function cancelOrder()
    {

        echo "ORDER cancelOrder";
    }

    /**
     * user constructor.
     */
    public function __construct()
    {
        echo "ORDER __construct";
    }

    public function __destruct()
    {
        // TODO: Implement __destruct() method.
        echo "ORDER __destruct";
        echo "<br>";
    }
}